package com.bstek.urule.clientConfig;

import com.bstek.urule.KnowledgePackageReceiverServlet;
import com.bstek.urule.console.servlet.URuleServlet;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServlet;

@SuppressWarnings({ "rawtypes", "unchecked" })
@Component
public class URuleServletRegistrationCilent {
	
//	@Bean
//	public ServletRegistrationBean registerURuleServlet(){
//		return new ServletRegistrationBean(new KnowledgePackageReceiverServlet(),"/knowledgepackagereceiver");
//	}

//	@Bean
//	public ServletRegistrationBean<HttpServlet> registerURuleServlet()
//	{
//
//		return new ServletRegistrationBean(new URuleServlet(), new String[] { "/urule/*" });
//	}
}

